package cn.t.core.mode;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class BasePO implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 创建时间
     */
    private Date gmtCreated;
    /**
     * 修改时间
     */
    private Date gmtModified;
    /**
     * 租户
     */
    private Long tenant;
    /**
     * 创建人员
     */
    private String creator;
    /**
     * 修改人员
     */
    private String modifier;
    /**
     * 是否删除，N否，Y是
     */
    @TableLogic(value = "'N'", delval = "'Y'")
    private YesNoEnum isDeleted;
}
